package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.SysOrder;
import com.ruoyi.system.mapper.SysOrderMapper;
import com.ruoyi.system.service.ISysReportService;
import com.ruoyi.system.vo.SysUserReportRes;
import com.ruoyi.system.vo.req.SysReportReq;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysReportServiceImpl implements ISysReportService {

    @Autowired
    private SysOrderMapper sysOrderMapper;

    @Override
    public List<SysUserReportRes> selectUserReport(SysReportReq sysReportReq) {
        return sysOrderMapper.selectUserReport(sysReportReq);
    }

    @Override
    public List<SysUserReportRes> selectAgentReport(SysReportReq sysReportReq) {
        return sysOrderMapper.selectAgentReport(sysReportReq);
    }

    @Override
    public List<SysUserReportRes> selectChidldUserReport(SysReportReq sysReportReq) {
        return sysOrderMapper.selectChidldUserReport(sysReportReq);
    }

    @Override
    public List<SysUserReportRes> selectChidldAgentReport(SysReportReq sysReportReq) {
        return sysOrderMapper.selectChidldAgentReport(sysReportReq);
    }

    @Override
    public List<SysUserReportRes> selectHighChidldUserReport(SysReportReq sysReportReq) {
        return sysOrderMapper.selectHighChidldUserReport(sysReportReq);
    }
}
